package edu.msg.jthr.web.beans;

import edu.msg.jthr.backend.model.JobDescription;
import edu.msg.jthr.backend.model.User;

public class JobUpdateBean {
	private String title;

	private Integer maxCandidates;

	private User proposer;

	private JobDescription description;

	private Boolean opened;

	public JobUpdateBean() {
	}

	public JobUpdateBean(String title, Integer maxCandidates, User proposer,
			JobDescription description, Boolean opened) {
		this.title = title;
		this.maxCandidates = maxCandidates;
		this.proposer = proposer;
		this.description = description;
		this.opened = opened;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getMaxCandidates() {
		return maxCandidates;
	}

	public void setMaxCandidates(Integer maxCandidates) {
		this.maxCandidates = maxCandidates;
	}

	public User getProposer() {
		return proposer;
	}

	public void setProposer(User proposer) {
		this.proposer = proposer;
	}

	public JobDescription getDescription() {
		return description;
	}

	public void setDescription(JobDescription description) {
		this.description = description;
	}

	public Boolean getOpened() {
		return opened;
	}

	public void setOpened(Boolean opened) {
		this.opened = opened;
	}

}
